Tham khảo Assertion (phát triển phần mềm)

  1. C. A. R. Hoare, An axiomatic basis for computer programming, Communications of the ACM, 1969. Pdf link.
  2. Programming With Assertions, Enabling and Disabling Assertions
  3. Jon Jagger, Compile Time Assertions in C, 1999.
  4. “Static Assertions”. D Language Reference. The D Language Foundation. Truy cập ngày 16 tháng 3 năm 2022.
  5. Official Python Docs, assert statement
  6. “Warning Options (Using the GNU Compiler Collection (GCC))”.
  7. Goldstine and von Neumann. "Planning and Coding of problems for an Electronic Computing Instrument". Part II, Volume I, 1 April 1947, p. 12. "It may be true, that whenever C actually reaches a certain point in the flow diagram, one or more bound variables will necessarily possess certain specified values, or possess certain properties, or satisfy certain properties with each other. Furthermore, we may, at such a point, indicate the validity of these limitations. For this reason we will denote each area in which the validity of such limitations is being asserted, by a special box, which we call an assertion box."
  8. Alan Turing. Checking a Large Routine, 1949; quoted in C. A. R. Hoare, "The Emperor's Old Clothes", 1980 Turing Award lecture. "How can one check a large routine in the sense of making sure that it's right? In order that the man who checks may not have too difficult a task, the programmer should make a number of definite assertions which can be checked individually, and from which the correctness of the whole program easily follows"

Tài liệu tham khảo

WikiPedia: Assertion (phát triển phần mềm) http://www.jaggersoft.com/pubs/CVu11_3.html http://docs.oracle.com/javase/8/docs/technotes/gui... http://docs.oracle.com/javase/8/docs/technotes/gui... http://sunnyday.mit.edu/16.355/Hoare-CACM-69.pdf http://queue.acm.org/detail.cfm?id=2220317 http://dlang.org/version.html#StaticAssert http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arn... http://discovery.ucl.ac.uk/4991/1/4991.pdf https://library.ias.edu/files/pdfs/ecp/planningcod... https://web.archive.org/web/2021*/http://lambda-th...